package io.wit.modules.wit.dao;

import io.wit.modules.sys.dao.BaseDao;
import io.wit.modules.wit.entity.EmployeeEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 员工档案
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-01-02 14:45:16
*/
@Mapper
public interface EmployeeDao extends BaseDao<EmployeeEntity> {

	List<EmployeeEntity> getUserList(Long subjectId);

    List<Map<String,Object>> getTypeEducation();

    Map<String, Object> queryMap(final Long dataId);

    int saveEmployee(final HashMap<String,Object> map);

    int editEmployee(final HashMap<String,String> map);

    List<Long> getUserIds(final Long[] dataIds);

    void delEmployees(final List<Long> longs);

    void delDeptUsers(final Long[] longs);

    void delUsers(final Long[] dataIds);
}